package com.weiyuwqj.server.service.account.module.action.user.invest;

import com.weiyuwqj.server.service.account.module.action.AbstractDealAction;
import com.weiyuwqj.api.constant.DealType;

import java.util.Date;

/**
 * Copyright 2015-2019 Yunfucloud technology co., Ltd.
 * Created by fuxx on 15/11/28.
 */
public class GenerateWaitDealAction extends AbstractDealAction {

    public GenerateWaitDealAction() {
        log.setOperType(DealType.GENERATE_WAIT);
    }

    @Override
    public void dealAccount() {
        log.setWait(log.getOperMoney());
        log.setAddtime(new Date());
        log.setBudgetType(-1);
    }
}
